<template>
  <div class="myreg">
    <mt-header title="我的挂号" fixed>
      <router-link to="/" slot="left">
        <mt-button icon="back"></mt-button>
      </router-link>
    </mt-header>
    <mt-navbar v-model="pindex" fixed>
      <mt-tab-item id="1">今日挂号</mt-tab-item>
      <mt-tab-item id="2">历史挂号</mt-tab-item>
    </mt-navbar>

    <!-- tab-container -->
    <mt-tab-container v-model="pindex">
      <mt-tab-container-item id="1">
        <mt-cell title="病理科" label="专家：黄巧凤" value="2018-04-27 下午"></mt-cell>

      </mt-tab-container-item>
      <mt-tab-container-item id="2">
        <mt-index-list class="noindex">
          <mt-index-section index="2018-04-17">
            <mt-cell title="病理科" label="专家：黄巧凤" value="2018-04-17 上午"></mt-cell>
            <mt-cell title="口腔外科" label="专科" value="2018-04-17 下午"></mt-cell>
          </mt-index-section>
          <mt-index-section index="2018-03-15">
            <mt-cell title="病理科" label="专家：黄巧凤" value="2018-03-15 上午"></mt-cell>
            <mt-cell title="口腔外科" label="专科" value="2018-03-15 下午"></mt-cell>
          </mt-index-section>
        </mt-index-list>
      </mt-tab-container-item>
    </mt-tab-container>
  </div>
</template>

<script>
  export default {
    name: 'myreg',
    data () {
      return {
        pindex: '1',
      }
    },
    methods: {

    },
    computed: {}
  }
</script>

